//
//  GoodsTypeModel.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/4/7.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "GoodsTypeModel.h"

@implementation GoodsTypeModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.productType = dict[@"productType"];
        self.typeId = [dict[@"typeId"] integerValue];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[GoodsTypeModel alloc]initWithDict:dict];
}


@end
